<%@page import="org.jcms.model.Customer"%>
<%@page import="org.jcms.uitils.CookieUtil"%>
<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../css/skin.css">
<link rel="stylesheet" type="text/css"
	href="../../css/easy-ui-themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="../../css/easy-ui-themes/icon.css">
<script type="text/javascript" src="../../js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="../../js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>

<script type="text/javascript" src="../../js/managegetfinishedorder.js"></script>


</head>
<body class="body">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" valign="top" background="../../images/mail_leftbg.gif"><img
				src="../../images/left-top-right.gif" width="17" height="29" />
			</td>
			<td valign="top" background="../../images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0"
					cellspacing="0" class="left_topbg" id="table2">
					<tr>
						<td height="31"><div class="titlebt">领书记录</div>
						</td>
					</tr>
				</table></td>
			<td width="16" valign="top"
				background="../../images/mail_rightbg.gif"><img
				src="../../images/nav-right-bg.gif" width="16" height="29" />
			</td>
		</tr>

		<tr>
			<td valign="bottom" background="../../images/mail_leftbg.gif"></td>
			<td valign="top" style="height:450px;background-color: white;">
				<!-- 这个是主要div -->
				<div style="margin-top:30px">

					<div>
						<div>筛选:</div>
						<span>根据用户ID筛选已完成订单:</span><input type="text"
							id="searchByCustomerId" /><input type="button" value="筛选已完成订单"
							onclick="buildGridView('list_data', $('#searchByCustomerId').val()+'的订单列表',
								'../ManagerSearchFinsh.do?type=1&customerId='+$('#searchByCustomerId').val());" />
						&nbsp;&nbsp;<input type="button" value="查看全部已完成订单"
							onclick="buildGridView('list_data', '全部已完成订单',
								'../ManagerSearchFinsh.do?type=0');" />
					</div>
					<br /> <br />
					<table id="list_data" cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<th field="orderId">订单ID</th>
								<th field="orderSum">总金额</th>
								<th field="orderTime">订单创建时间</th>
								<th field="stateName">订单状态</th>
								<th field="customerId">订单所有者ID</th>
								<th field="proofId">领书单ID</th>
								<th field="proofStateName">领书单状态</th>

							</tr>

						</thead>

					</table>
					<img src="../../images/loading.gif"
						style="display:none;height:25px;width:25px;" id="LoadingImg" />
					<script type="text/javascript">
						buildGridView('list_data', '全部已完成订单',
								'../ManagerSearchFinsh.do?type=0');
					</script>
				</div>
			</td>
			<td valign="bottom" background="../../images/mail_rightbg.gif">&nbsp;
			</td>
		</tr>


		<tr>
			<td valign="bottom"><img src="../../images/buttom_left2.gif"
				width="17" height="17" />
			</td>
			<td background="../../images/buttom_bgs.gif"><img
				src="../../images/buttom_bgs.gif" width="17" height="17">
			</td>
			<td valign="bottom"><img src="../../images/buttom_right2.gif"
				width="16" height="17" />
			</td>
		</tr>

	</table>
	<div id="dialogid"></div>
	<div id="win"></div>
</body>
</html>



